﻿using Abp.Domain.Entities;
using System.ComponentModel.DataAnnotations.Schema;

namespace SOEI.Solution.DomainEntities.RegulatoryMange
{
    [Table("CLFZJJG_JGZHXX")]
    public class RegulatoryAccount : Entity<string>
    {
        /// <summary>监管账户代码
        /// </summary>
        [Column("JGZHDM")]
        public override string Id { get; set; }

        /// <summary>监管账号
        /// </summary>
        [Column("JGZH")]
        public string JGZH { get; set; }

        /// <summary>监管银行编号
        /// </summary>
        [Column("JGYHBH")]
        public string JGYHBH { get; set; }

        /// <summary>状态
        /// </summary>
        [Column("ZT")]
        public string ZT { get; set; }

        /// <summary>机构编号
        /// </summary>
        [Column("JGBH")]
        public string JGBH { get; set; }

        [NotMapped]
        public SuperviseBank superviseBank { get; set; }

        [NotMapped]
        public Regulator regulator { get; set; }
    }
}
